package com.example.service;

import com.example.common.Result;
import com.example.dto.PurQueryDto;
import com.example.entity.HnyyPurRebatePurHx;
import com.example.entity.HnyyPurRebatePurHxLines;
import com.github.pagehelper.PageInfo;

import java.math.BigDecimal;
import java.util.List;

public interface HnyyPurService {
    PageInfo<PurQueryDto> getData(PurQueryDto purQueryDto);

    Result updatePurAmt(List<PurQueryDto> purQueryDtoList);

    Result applyPur(String comPartyId, String user, List<HnyyPurRebatePurHxLines> hnyyPurRebatePurHxLines);

    PageInfo<HnyyPurRebatePurHx> getPurCGCheck(HnyyPurRebatePurHx purRebatePurHx);

    PageInfo<HnyyPurRebatePurHxLines> getHnyyPurRebatePurHxLines(BigDecimal hnyyPurRebatePurHxId, Integer pageNum, Integer pageSize);

    Result buyerPass(List<HnyyPurRebatePurHx> purRebatePurHxes);
}
